import { createApp } from 'vue'
import App from './App.vue'
import 'amfe-flexible'

import router from './router'
import store from './store'
import { Button,Icon, Tabs, Tab , Toast , TreeSelect ,Stepper,ActionBar, ActionBarIcon, ActionBarButton
    ,Checkbox, CheckboxGroup,SubmitBar,ContactCard,Card,Dialog,AddressList,AddressEdit,
    Form, Field, CellGroup} from 'vant';
 import 'vant/lib/index.css'

import './assets/css/common.less'
import './api/mock'
const app = createApp(App)
app.use(router).use(Button).use(Icon).use(Tabs).use(Tab).use(Toast).use(TreeSelect).use(Stepper)
.use(ActionBar).use(ActionBarIcon).use(ActionBarButton).use(store).use(Checkbox).use(CheckboxGroup)
.use(SubmitBar).use(ContactCard).use(Card).use(Dialog).use(AddressList).use(AddressEdit).use(Form)
.use(Field).use(CellGroup)
app.use(router).use(store)
app.mount('#app')

